package com.huike.game.Test;

public class TT {
    public static void main(String[] args) {
       ThreadA b=new ThreadA();
       ThreadB w =new ThreadB();
       b.start();
       w.start();
    }
}

class ThreadA extends Thread{

    @Override
    public void run() {
        super.run();
        for (int i =0;i<10000;i++){
            System.out.println("aaaaa");
        }
    }
}
class ThreadB extends Thread{

    @Override
    public void run() {
        super.run();
        for (int i =0;i<10000;i++){
            System.out.println("bbbbb");
        }
    }
}
